package com.sh.data.engine.domain.base.model.datax;

import lombok.Data;

import java.util.List;

@Data
public class ApiWsJobContentReaderParameter extends JobContentReaderParameter {

    private String localClassPath;

    private String wsdlUrl;

    private String port;

    private String operation;

    private String raw;

    private Integer contentType;

    private List<RequestParam> requestParams;

    private List<ResponseParam> responseParams;

    private String jsScript;

    private String advancedFilePath;

    private String advancedClassReference;

    private String advancedMethodName;

    @Data
    public static class RequestParam {

        private String name;

        private String value;

        private String position;

        private String type;
    }

    @Data
    public static class ResponseParam {

        private String name;

        private String expression;

        private Integer relationship;
    }
}
